package Top_Interview_Questions_Review._001Tree.Supple;

/**
 * @Author: 吕庆龙
 * @Date: 2020/2/9 17:33
 * <p>
 * 功能描述:
 */
public class Node {
    public int val;
    public Node left;
    public Node right;
    public Node next;

    public Node() {}

    public Node(int _val) {
        val = _val;
    }

    public Node(int _val, Node _left, Node _right, Node _next) {
        val = _val;
        left = _left;
        right = _right;
        next = _next;
    }

    @Override
    public String toString() {
        return "Node{" +
                "val=" + val +
                '}';
    }
}
